package com.demo2do.fms.scheduler.service;

import java.util.Date;
import java.util.List;

import com.demo2do.fms.entity.vehicle.source.Vehicle;
import com.demo2do.fms.entity.vehicle.source.VehicleGpsInfo;
import com.demo2do.fms.entity.vehicle.source.VehicleSource;
import com.demo2do.fms.entity.vehicle.tractor.Tractor;


/**
 *
 * @author Ark
 *
 */
public interface VehicleLockReader {

	// ************ lock vehicle by no driver ************

	/**
	 * 未绑定合格司机的车辆
	 * 
	 * @return
	 */
	public List<Vehicle> listNoDriverVehicle();
	
	// ************ lock vehicle by no gps ************
	
	/**
	 * 没有gps信息的车辆
	 * 
	 * @param lastWeek
	 * @return
	 */
	public List<Long> listVehicleByGps(Date lastWeek); 
	
	// ************ unlock vehicle by gps ************
	
	/**
	 * 查询两小时内有GPS信息的车辆
	 * 
	 * @param twoHoursBefore
	 * @return
	 */
	public List<VehicleGpsInfo> listNeedUnlockVehicle(Date twoHoursBefore);

	/**
	* @description
	* @params [date]
	* @return java.util.List<com.demo2do.fms.entity.vehicle.tractor.Tractor>
	* @author LZJ
	* @date 2020/12/1 21:08
	**/
	List<VehicleSource> listAnnualInspectionDate(Date date);
}
